package com.dyzx.hbb.modules.finance.service;

import com.dyzx.hbb.modules.finance.entity.FinanceOrganWallet;
import com.dyzx.hbb.modules.finance.entity.FinanceOrganWalletBill;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Administrator
* @description 针对表【finance_organ_wallet_bill(企业钱包账单表)】的数据库操作Service
* @createDate 2025-07-17 12:12:19
*/
public interface FinanceOrganWalletBillService extends IService<FinanceOrganWalletBill> {

    boolean validAppervalIdByBill(Long id);


    boolean walletBillOut(FinanceOrganWalletBill bill2, FinanceOrganWallet validBlance);

    boolean walletBillIn(FinanceOrganWalletBill data);

    boolean inWalletBill(Long orderId, Integer type, Long paid, Long pending, boolean isPaid);
}
